cc.Class({
    extends: cc.Component,

    properties: {
        scoreLabel: cc.Label
    },

    onLoad: function () {
        console.log('Global.score ' + Global.score);
        this.scoreLabel.string = 'Score : ' + Global.score + '     HeightSoore : ' + Global.heightScore;
    },

    gameAginCallBack: function(){
        cc.director.loadScene('game');
    }
});
